package com.hmall.common.util;

public class ThreadLocalUtil {
    private final static ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>();

    public static void setThreadLocal(String id) {
        THREAD_LOCAL.set(id);
    }

    public static String getThreadLocal() {
        return THREAD_LOCAL.get();
    }

    public static void remove() {
        THREAD_LOCAL.remove();
    }
}
